def factorial(n):
    if n == 0:
        return 1
    else:
        return n * factorial(n-1)
n = 10
result = factorial(n)
print("10的阶乘为：",result)